/*
 * QueryRedPaperResponse.java
 * business
 *
 * Created by ChenTao on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.response;

import com.google.gson.annotations.SerializedName;
import com.yidiandao.business.data.bean.Coupon;

import java.util.List;

/** 查询红包列表的Response */
public class QueryRedPacketResponse extends PagerResponse {

    @SerializedName("data")
    private Data data;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data {

        @SerializedName("count")
        private String count;

        @SerializedName("bonus_list")
        private List<Coupon> bonusList;

        public String getCount() {
            return count;
        }

        public void setCount(String count) {
            this.count = count;
        }

        public List<Coupon> getBonusList() {
            return bonusList;
        }

        public void setBonusList(List<Coupon> bonusList) {
            this.bonusList = bonusList;
        }
    }
}
